package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.GoodsInterval;
import com.ruoyi.system.dto.IntervalDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GoodsIntervalMapper {


    int batchInsert(@Param("l") IntervalDTO l); //批量插入区间数据

    List<GoodsInterval> selectList(@Param("goodsId") Integer goodsId);

    int batchDelete(@Param("ids") Integer[] ids);

    int updateById(@Param("l") IntervalDTO l);
}
